@extends('admin_system.accountsManage.account_add')
@section('content_company')
    <table class="table table-bordered table-hover">
        @foreach($son_company as $k=>$v)
            <form action="{{route('account_son_manage_edit')}}" method="post" enctype="multipart/form-data">
                {{csrf_field()}}
                <input type="hidden" name="company_code" value="{{$company_code}}">
                <tbody>
                <tr>
                    <td rowspan="4" style="text-align: center;line-height: 135px">帐号 {{$loop->iteration}}</td>
                </tr>
                <tr style="width: 30%">
                    <td>管理员姓名</td>
                    <td style="width: 30%">
                        <input type="text" name="manage_name" class="form-control" value="{{$v->manage_name}}">
                    </td>
                    <td rowspan="4" colspan="2" style="text-align: center;line-height: 135px">
                        <a href="">
                            <button type="submit" class="btn btn-danger">保存</button>
                        </a>
                    </td>
                </tr>
                <tr style="width: 30%">
                    <td>管理员帐号</td>
                    <td style="width: 30%">
                        <input type="text" name="name" class="form-control" value="{{$v->name}}">
                    </td>
                </tr>
                <tr style="width: 30%">
                    <td>管理员密码</td>
                    <td style="width: 30%">
                        <input type="text" name="password" class="form-control" value="">
                    </td>
                </tr>
                </tbody>
            </form>
        @endforeach
    </table>
    <script>
        !(function () {
            sessionStorage.setItem('status',2);
        })()
    </script>
@endsection()

